<!DOCTYPE HTML>
<html>
<body style="margin:0" onload="doTest()">
<div style="height:1205.6px"></div>
<div id="d" style="height:0.6px; background:red"></div>
<script>
function doTest() {
  window.scrollTo(0, document.documentElement.scrollTop);
}
</script>
</body>
</html>
